﻿using System;

namespace DMirrorMySQL
{
    /// <summary>
    /// 文件体,提供访问Danbooru Post的方法
    /// </summary>
    public class DPost
    {
        /// <summary>
        /// 图片ID
        /// </summary>
        public int PostID = -1;
        /// <summary>
        /// 网站ID
        /// </summary>
        public int SiteID = -1;
        /// <summary>
        /// 宽度
        /// </summary>
        public int Width = -1;
        /// <summary>
        /// 高度
        /// </summary>
        public int Height = -1;
        /// <summary>
        /// iPhoto中的图片ID
        /// </summary>
        public int iPhotoID = -1;
        /// <summary>
        /// 状态标志
        /// </summary>
        public int Status = 0;
        /// <summary>
        /// 图片MD5
        /// </summary>
        public string MD5 = "";
        /// <summary>
        /// 图床地址
        /// </summary>
        public string URL = "";
        /// <summary>
        /// 图床缩略图地址
        /// </summary>
        public string tURL = "";
        /// <summary>
        /// 本地图片路径
        /// </summary>
        public string PATH = "";
        /// <summary>
        /// 本地缩略图路径,如过正常加入iPhoto则为iPhoto Library中的缩略图
        /// </summary>
        public string tPATH = "";
        /// <summary>
        /// 文件大小
        /// </summary>
        public int Size = 0;

        /// <summary>
        /// 上次更新时间
        /// </summary>
        public DateTime Modified;
    }
}